<?php 
if (empty($categories)) {
  return;

}
//pr($categories);
?>
 <div class="widget sidebar-widget">
              <div class="sidebar-widget-title">
                <h3 class="widgettitle"><?php echo __('Post Categories'); ?></h3>
              </div>
              <?php echo $this->Blog->nav($categories); ?>
                          </div>

